const express = require('express');
const route = express.Router();
const adminModel = require('../db/model/adminModel')
route.get("/adminList", async (req, res) => {
    const findResult = await adminModel.find({},{
        password:0
    })
    res.send({
        code: 10000,
        msg: "查询管理列表成功",
        data: findResult
    })
})
module.exports = route